<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:71:"/webHome/host6366235/www/public/../application/home/view/my/search.html";i:1680884634;s:66:"/webHome/host6366235/www/application/home/view/public/footer3.html";i:1680881888;}*/ ?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title><?php echo $setting['webname']; ?>-录取查询</title>
  <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
  <meta content="yes" name="apple-mobile-web-app-capable"/>
  <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
  <meta content="telephone=no" name="format-detection"/>
  <link rel="shortcut icon" href="/public/static/admin/uploads/set/<?php echo $setting['ico']; ?>">
  <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/base.css">
  <link type="text/css" rel="stylesheet" href="/public/static/home/themes/css/home.css">
  <!--<script type="text/javascript" src="/public/static/home/themes/js/jquery.min.js"></script>-->
  <!--<script type="text/javascript" src="/public/static/home/themes/js/slider.js"></script>-->
  <!--<script type="text/javascript" src="/public/static/home/themes/js/tab.js"></script>-->
  <style>
    .aui-scrollView{
      /*text-align: center;*/
    }
    #form1{
      width:100%;
      height:28%;
      background:#27a804;
      padding-top:20px;
      margin-bottom:10px;
    }
    #form1 input[name=name],#form1 input[name=idcard]{
      width: 88%;
      display:block;
      border:0;
      height:35px;
      line-height:35px;
      /*border:1px solid #999;*/
      margin:0 auto 10px auto;
      border-radius:8px;
      background:rgba(255,255,255,0.5);
      padding-left:15px;

    }
    #form1 button{
      width: 88%;
      height: 35px;
      border:0;
      background:rgba(255,255,255,0.9);
      font-size:12px;
      color: #27a804;
      font-size:18px;
      letter-spacing: 1rem;
      border-radius: 8px;
      display:block;
      margin:0 auto;
    }
    .b-line:after{
      border-bottom:0;
    }
  </style>
</head>
<body>

<section class="aui-flexView">



  <header class="aui-navBar aui-navBar-fixed b-line" style="background:#27a804;box-shadow: none;">
    <a href="javascript:history.back(-1)" class="aui-navBar-item">
      <i class="icon icon-return2"></i>
    </a>
    <div class="aui-center">
      <span class="aui-center-title" style="color:#fff">查询报名记录</span>
    </div>
    <a href="javascript:;" class="aui-navBar-item">
      <i class="icon icon-sys"></i>
    </a>
  </header>
  <section class="aui-scrollView">
    <form action="<?php echo url('My/search',['tid'=>$tid]); ?>" id="form1" method="post" >
      <input type="text" name="name" id="name" placeholder="请输入身份证姓名" <?php if(!empty($data['name'])): ?>value="<?php echo $data['name']; ?>"<?php endif; ?>>
      <input type="text" name="idcard" id="idcard" placeholder="请输入身份证号" <?php if(!empty($data['idcard'])): ?>value="<?php echo $data['idcard']; ?>"<?php endif; ?>>
      <button>查询</button>
    </form>
    <section class="aui-scrollView">
      <div class="aui-mate-box">
        <?php if(!empty($apply)): foreach($apply as $vs): ?>
            <a <?php if($vs['status'] == 4): ?> href="<?php echo url('My/pay',['id'=>$vs['id'],'tid'=>$tid]); ?>"<?php endif; ?> class="aui-flex b-line">
            <div class="aui-flex-box">
              <h3><?php echo $vs['major']; ?>-<?php echo $vs['bktype']; ?></h3>
              <p><?php echo $vs['create_time']; ?></p>
            </div>
            <div class="aui-mate-text">
              <p>
                <?php if($vs['status']==1): ?>
                <span style="color:#f8ac59"><i class="fa fa-thumb-tack"></i> 审核中</span>
                <?php elseif($vs['status']==2): ?>
                <span style="color:green"><i class="fa fa-check"></i> 已录取</span>
                <?php elseif($vs['status']==3): ?>
                <span style="color:#d9534f;"><i class="fa fa-times"></i> 拒绝</span>
                <?php elseif($vs['status']==4): ?>
                <span style="color:#2b57d9;"><i class="fa fa-times"></i> 待支付 </span>
                <?php elseif($vs['status']==5): ?>
                <span style="color:#f8ac59"><i class="fa fa-thumb-tack"></i> 报名审核中，请耐心等待……</span>
                <?php endif; ?>
              </p>
            </div>
            <!--<div class="aui-mate-text">-->
            <!--  <i class="fa fa-angle-right"></i>-->
            <!--</div>-->
            </a>
          <?php endforeach; else: ?>
        <div style="text-align: center">暂无数据</div>

        <?php endif; ?>
      </div>
    </section>
  </section>
  <link href="/public/static/admin/css/font-awesome.css?v=4.4.0" rel="stylesheet">
<footer class="aui-footer">
    <a href="<?php echo url('Indexs/index',['tid'=>$tid]); ?>" class="aui-tabBar-item ">
            <span class="aui-tabBar-item-icon">
                <i class="icon icon-home"></i>
            </span>
        <span class="aui-tabBar-item-text">首页</span>
    </a>
    <a href="<?php echo url('My/register',['tid'=>$tid]); ?>" class="aui-tabBar-item ">
            <span class="aui-tabBar-item-icon">
                <i class="fa fa-user-plus" style="font-size:18px !important;"></i>
            </span>
        <span class="aui-tabBar-item-text">我要报名</span>
    </a>
    <!--<a href="news.html" class="aui-tabBar-item">-->
    <!--    <span class="aui-tabBar-item-icon">-->
    <!--        <i class="icon icon-find"></i>-->
    <!--    </span>-->
    <!--    <span class="aui-tabBar-item-text">消息</span>-->
    <!--</a>-->
    <!--<a href="community.html" class="aui-tabBar-item">-->
    <!--    <span class="aui-tabBar-item-icon">-->
    <!--        <i class="icon icon-comm"></i>-->
    <!--    </span>-->
    <!--    <span class="aui-tabBar-item-text">社区</span>-->
    <!--</a>-->
    <a href="<?php echo url('My/index',['tid'=>$tid]); ?>" class="aui-tabBar-item aui-tabBar-item-active">
            <span class="aui-tabBar-item-icon">
                <i class="icon icon-car"></i>
            </span>
        <span class="aui-tabBar-item-text">我的</span>
    </a>
</footer>
</section>

</body>
</html>